import qs from "qs";

export function getSellCount() {
    return new Promise(resolve => {
        axios.post("/sell/getSellCount").then(rs => {
            resolve(rs.data);
        })
    })
}

export function getSells(form) {
    return new Promise(resolve => {
        axios.post("/sell/getSells", qs.stringify(form)).then(rs => {
            resolve(rs.data);
        })
    })
}


